<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

    <script>

        //需求：打印1-100
        for(var i = 1; i<=100; i++){
            console.log(i);
        }

    </script>

</body>
</html>